package com.qoupon.client;

import org.apache.cordova.DroidGap;

import android.os.Bundle;

public class MainActivity extends DroidGap {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        //super.onCreate(savedInstanceState);
        //setContentView(R.layout.activity_main);
        super.onCreate(savedInstanceState);
        super.setIntegerProperty("splashscreen", R.drawable.ic_launcher);
        if(getIntent()==null){
        	  super.loadUrl("file:///android_asset/www/index.html",5000);

        } if(getIntent()!=null){
      	  super.loadUrl("file:///android_asset/www/index.html");

      }
   }
    public String loadMyURL(){
		return "file:///android_asset/www/index.html";
    	
    }
}
